package org.hzero.order.infra.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hzero.order.domain.entity.dto.OrderDTO;

import io.choerodon.mybatis.common.BaseMapper;

/**
 * @author xiuiqng.Yang-Estelle-양수청
 * @date 2019/8/5 17:02
 */

public interface OrderMapper extends BaseMapper<OrderDTO> {

    List<OrderDTO> select(@Param("order") OrderDTO order);

    List<OrderDTO> selectByOrderNumber(@Param("orderNumber") String orderNumber);

    String selectDescByStatus(@Param("orderNumber") String orderNumber,@Param("orderStatus") String orderStatus);

    List<OrderDTO> selectExportAttrs();
}
